using System;
using System.Diagnostics.CodeAnalysis;
using System.Web.UI;

namespace iPhOwa.Web
{
	/// <summary>
	/// Master page for all pages.
	/// </summary>
	[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly")]
	public partial class iPhone : MasterPage
	{
		/// <summary>
		/// Page_Load Event
		/// </summary>
		protected void Page_Load(object sender, EventArgs e)
		{
			username.Value = Page.User.Identity.Name;
		}

		///<summary>
		///Raises the <see cref="E:System.Web.UI.Control.Init"></see> event.
		///</summary>
		///
		///<param name="e">An <see cref="T:System.EventArgs"></see> object that contains the event data. </param>
		protected override void OnInit(EventArgs e)
		{
			base.OnInit(e);

			// HACK: makes page size smaller.
			ID = "m";
		}
	}
}